/*
 * Created: 2020-08-18 09:56:45
 * Author : Mockingbird
 * Email : 1768385508@qq.com
 * -----
 * Description: 接口地址统一存放位置
 */
const baseUrl = '/ecos';

const apis = {
  login: '/login', // 登录
  getUserInfo: (user_id: string) => {
    return `${baseUrl}/qcec/v1/user/${user_id}`;
  },
  logout: '/logout',
  validateLogin: '/validate_login',
  getContentLists: `${baseUrl}/api/content/pages`, // 获取内容列表
  getNewsType: `${baseUrl}/api/news_type`, // 获取新闻类型  
}

export default apis;
